import axios from "axios";

const getDoneRoughTaskByCrowdId = (id: number)=>{
    return new Promise((resolve, reject) => {
        axios.get("/api/rough-task/selectTaskByCrowd",{
            params:{
                crowdId: id,
                status: 1
            }
        }).then((response)=>{
            resolve(response);

        })


    })
}

export default getDoneRoughTaskByCrowdId;